<template>
  <div id="app">
    <ul class="nav">
      <li>
        <span class="iconfont icon-xinchebaojia"></span>
        <router-link :to="{path:'/newcar'}">新车</router-link>
      </li>
      <li>
        <span class="iconfont icon-xinnengyuan"></span>
        <router-link :to="{path:'/newpower'}">新能源</router-link>
      </li>
      <li>
        <span class="iconfont icon-faxian"></span>
        <router-link :to="{path:'/find'}">发现</router-link>
      </li>
      <li>
        <span class="iconfont icon-ershouche"></span>
        <router-link :to="{path:'/usedcar'}">二手车</router-link>
      </li>
      <li>
        <span class="iconfont icon-wode"></span>
        <router-link :to="{path:'/mine'}">我的</router-link>
      </li>
    </ul>
    <router-view></router-view>
  </div>
</template>

<script>
  export default {
    
  }
</script>

<style lang="scss" scoped>
  #app{
    .nav{
      position: fixed;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 50px;
      background-color: rgb(235, 229, 229);
      display: flex;
      li{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex: 1;
        span{
          display: flex;
          justify-content: center;
          align-items: center;
        }
      }
    }
  }
</style>